package com.sun.dto;

import com.sun.entity.ArtworkDes;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
public class ArtworkDTO implements Serializable {

    private Long id;
    //艺术品名称
    private String name;
    //艺术品分类id
    private Long categoryId;
    //艺术品价格
    private BigDecimal price;
    //图片
    private String image;
    //描述信息
    private String description;
    //0 停售 1 起售
    private Integer status;

    //附加描述
    private List<ArtworkDes> flavors = new ArrayList<>();

}
